import React, { Component } from 'react'
import { useParams } from 'react-router-dom'

const Detail = (props) => {
  const params = useParams()
  return <div>{params.detailId}</div>
}

export default Detail
